package com.info.zhiduoduo.admin.model.formbean.account;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class SaveHandleRecordFormBean {

    @ApiModelProperty("创客用户id")
    @Min(value = 0 , message = "创客userid不能小于0")
    private int userid;

    @ApiModelProperty("处理类型（1 已线下付款 2 特批不用付款 3 停止交易 4 申请注销 5 特殊承诺不收费）")
    @NotNull(message = "处理类型不能为空")
    private Integer handleType;

    @ApiModelProperty("处理周期(年份)")
    @NotNull(message = "处理周期不能为空")
    private Integer handleYear;

    @ApiModelProperty("处理收费金额")
    private BigDecimal handleAmount;

    @ApiModelProperty("上传文件凭证的 路径")
    private String filepath;

    @ApiModelProperty("备注")
    private String remark;

}
